package com.sugar.subscribe.course.module.business.controller.admin.user.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.sugar.subscribe.course.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.sugar.subscribe.course.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户分页 Request VO")
@Data
public class BizUserPageReqVO extends PageParam {

    @Schema(description = "昵称", example = "王五")
    private String nickname;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "账户状态（1正常 0封禁）", example = "1")
    private Boolean status;

    @Schema(description = "姓名", example = "李四")
    private String name;

    @Schema(description = "性别 1男 2女（字典：system_user_sex）")
    private Integer gender;

    @Schema(description = "教练入驻（0未入驻 1已入驻）")
    private Boolean isCoach;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}